package top.huxy.boot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import top.huxy.boot.model.entity.Chenyu;

/**
 * @author HuXY
 * @since 2022-01-26 15:34:05
 */
@Mapper
@Repository
public interface ChenyuDao {

    Chenyu findChenYu(String text);

    int getChenYuCount();

    Chenyu getChenYuByIndex(int index);
}
